﻿using System;
using System.Collections.Generic;

using System.Text;
using System.ComponentModel;

namespace TA.Turbo.Controls
{
	/// <summary>
	/// Base class to describe a column which outputs a certain type of control.
	/// </summary>
	public abstract class BasePresetColumn : BaseGridColumn
	{
		/// <summary>
		/// Styles and options applied to the view control.
		/// </summary>
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
		public ItemElement ViewControl { get { return _viewControl; } }
		/// <summary>
		/// Styles and options applied to the edit control.
		/// </summary>
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
		public ItemElement EditControl { get { return _editControl; } }

		ItemElement _viewControl = new ItemElement(),
			_editControl = new ItemElement();
	}
}
